Optimal. Leaf size=37 \[ \frac{1}{2} a A x^2+\frac{1}{3} a B x^3+\frac{1}{4} A c x^4+\frac{1}{5} B c x^5 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0230988, antiderivative size = 37, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {766} \[ \frac{1}{2} a A x^2+\frac{1}{3} a B x^3+\frac{1}{4} A c x^4+\frac{1}{5} B c x^5 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 766
Rubi steps
\begin{align*} \int x (A+B x) \left (a+c x^2\right ) \, dx &=\int \left (a A x+a B x^2+A c x^3+B c x^4\right ) \, dx\\ &=\frac{1}{2} a A x^2+\frac{1}{3} a B x^3+\frac{1}{4} A c x^4+\frac{1}{5} B c x^5\\ \end{align*}
Mathematica [A] time = 0.0018294, size = 37, normalized size = 1. \[ \frac{1}{2} a A x^2+\frac{1}{3} a B x^3+\frac{1}{4} A c x^4+\frac{1}{5} B c x^5 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0., size = 30, normalized size = 0.8 \begin{align*}{\frac{aA{x}^{2}}{2}}+{\frac{aB{x}^{3}}{3}}+{\frac{Ac{x}^{4}}{4}}+{\frac{Bc{x}^{5}}{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.06966, size = 39, normalized size = 1.05 \begin{align*} \frac{1}{5} \, B c x^{5} + \frac{1}{4} \, A c x^{4} + \frac{1}{3} \, B a x^{3} + \frac{1}{2} \, A a x^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.36387, size = 74, normalized size = 2. \begin{align*} \frac{1}{5} x^{5} c B + \frac{1}{4} x^{4} c A + \frac{1}{3} x^{3} a B + \frac{1}{2} x^{2} a A \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.072569, size = 32, normalized size = 0.86 \begin{align*} \frac{A a x^{2}}{2} + \frac{A c x^{4}}{4} + \frac{B a x^{3}}{3} + \frac{B c x^{5}}{5} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17337, size = 39, normalized size = 1.05 \begin{align*} \frac{1}{5} \, B c x^{5} + \frac{1}{4} \, A c x^{4} + \frac{1}{3} \, B a x^{3} + \frac{1}{2} \, A a x^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]